{if !empty($recentlist)}
<style>
    .ht_tit {
        height: 36px;
        line-height: 36px;
        padding: 0 10px;
    }

    .ht_list {
        font-size: 12px;
        background-color: #fff;
        border-left: 0 none;
        border-right: 0 none;
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .ht_item {
        position: relative;
        padding: 1px 10px;
        padding-left: 50px;
        border-width: 0 0 1px 0;
    }
    .ht_avatar {
        position: absolute;
        top: 0.35rem;
        left: 10px;
    }
    .ht_avatar img {
        display: block;
        width: 30px;
        height: 30px;
        overflow: hidden;
        -webkit-border-radius: 30px;
        border-radius: 30px;
        background-clip: padding-box;
    }
    :link, :visited, ins {
        text-decoration: none;
    }
    .ht_btn {
        display: block;
        clear: both;
        height: 38px;
        -webkit-border-top-right-radius: 30px;
        -webkit-border-bottom-right-radius: 30px;
        border: 1px solid {$config['formcolortop']};
        overflow: hidden;
    }
    .ht_price {
        float: left;
        width: 40%;
        background-color: #fff;
        font-size: 13px;
        height: 38px;
        line-height: 38px;
        color: #666;
    }
    .ht_btn_go {
        float: right;
        background-color: {$config['formcolortop']};
        text-align: center;
        color: #fff;
        height: 38px;
        padding-left: 10px;
        padding-right: 10px;
        line-height: 38px;
        width: 40%;
    }
</style>
<div id="more_tuan" style="margin-bottom: 5px;">
    <div class="ht" style="background-color: #f2f2f2;">
        <div class="ht_tit">附近的小伙伴正在&#x53d1;起&#x56E2;购，您可以直接参与</div>
        <div class="ht_list">
            {loop $recentlist $item}
            <div class="ht_item" style="margin-top: 5px;">
                <div class="ht_avatar">
                    <img src="{$item['avatar']}" alt="&#x56E2;&#38271;头像"></div>
                <a  class="ht_btn" style="border: 1px solid color: {$config['formcolortop']};" href='{php echo !empty($themyrecordid)?"#":"/".createMobileUrl("index",array("themeid"=>$item["themeid"],"fromuid"=>$fromuid,"fopenid"=>$fopenid,"workerid"=>$workerid,"recordid"=>$item["id"],"showtuan"=>1));}'>
                    <span class="ht_price">【{$item['username']}】{$item['nickname']}</span>
                    <span class="ht_btn_go" style="{if $item['isfinish']==1}background-color:{$config['successcolor']};{else}background-color:{$config['ingcolor']};{/if}">{if $item['leftnum']>0}差{$item['leftnum']}人成&#x56E2; 火速参&#x56E2;{else} 哇太棒啦~&nbsp;&#x62fc;&#x56E2;成功{/if} 》</span>
                </a>
            </div>
            {/loop}
        </div>
    </div>
</div>
{/if}